package com.master.train.business.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 座位
 * 
 * @author master
 * @email 3221057417@qq.com
 * @date 2025-07-17 11:38:36
 */
@Data
@Accessors(chain = true)
@TableName("train_seat")
public class TrainSeatEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * 车次编号
	 */
	private String trainCode;
	/**
	 * 厢序
	 */
	private Integer carriageIndex;
	/**
	 * 排号|01, 02
	 */
	@TableField("`row`")
	private String row;
	/**
	 * 列号|枚举[SeatColEnum]
	 */
	@TableField("`col`")
	private String col;
	/**
	 * 座位类型|枚举[SeatTypeEnum]
	 */
	private String seatType;
	/**
	 * 同车厢座序
	 */
	private Integer carriageSeatIndex;
	/**
	 * 新增时间
	 */
	private Date createTime;
	/**
	 * 修改时间
	 */
	private Date updateTime;

}
